#version 130

uniform sampler2D Diffuse;
uniform vec3  AmblientColor;

in vec2 TexCoord;
in float Light;

out vec4 outColor;

void main()
{
	 outColor = texture2D( Diffuse, TexCoord ) * Light + vec4( AmblientColor, 0.0 ); 
}